﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace JWBSTAPP.CommonClass
{
    public class Model<T>
    {
        public string name { get; set; }
        public List<T> data;
    }

    //排序
    public class sort
    {
        public string column { get; set; }
        public string sortcolmn { get; set; }
    }
    //筛选条件
    public class where
    {
        public string column { get; set; }
        public string operat { get; set; }
        public string value { get; set; }
        public string type { get; set; }
    }

    //表关联
    public class join
    {
        public string jointype { get; set; }
        public string column1 { get; set; }
        public string colunm2 { get; set; }
    }

    /// <summary>
    /// 分组条件
    /// </summary>
    public class group
    {
        public string column { get; set; }
    }
    /// <summary>
    /// 分组过率条件
    /// </summary>
    public class having
    {
        public string column { get; set; }
        public string operat { get; set; }
        public string value { get; set; }
        public string type { get; set; }
    }
    /// <summary>
    /// 显示的列
    /// </summary>
    public class column
    {
        public List<string> Column { get; set; }
    }

}